package moni.anyou.com.view.amap.cluster.demo;

import com.amap.api.maps2d.model.LatLng;

;

/**
 * Created by yiyi.qi on 16/10/10.
 */

public class RegionItem<T> {
    private LatLng mLatLng;
    private String mTitle;

    public RegionItem(LatLng latLng, String title, Object tag) {
        mLatLng=latLng;
        mTitle=title;
    }

    public RegionItem(LatLng latLng, String title) {
        mLatLng=latLng;
        mTitle=title;
    }

    public LatLng getPosition() {
        // TODO Auto-generated method stub
        return mLatLng;
    }
    public String getTitle(){
        return mTitle;
    }

    private  T mTag;


    public T getTag() {
        return mTag;
    }

    public RegionItem setTag(T tag) {
        this.mTag = tag;
        return this;
    }

}
